package com.neuedu.His02.controller.outpatientDoctorWorkStation;

import com.neuedu.His02.entity.CheckApply;
import com.neuedu.His02.entity.MedicalRecord;
import com.neuedu.His02.entity.Register;
import com.neuedu.His02.entity.User;
import com.neuedu.His02.service.outpatientDoctorWorkStationService.InspectionApplicationService;
import com.neuedu.His02.util.EnumCode;
import com.neuedu.His02.util.ResultUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;

/**
 * @author GSJ
 * @description 检查申请控制类
 */
@RestController
public class InspectionApplicationController {

    @Resource
    private InspectionApplicationService service;

    /**
     * @return {@link ResultUtil}
     * @author GSJ
     * @description 初始化待申请检查的患者
     */
    @PostMapping("/outpatientDoctorWorkStation/inspectionApplication/initPatients")
    public ResultUtil initPatients(@RequestBody User user) {
        return null;
    }

    /**
     * @return {@link ResultUtil}
     * @author GSJ
     * @description 初始化患者的检查申请
     */
    @RequestMapping("/outpatientDoctorWorkStation/inspectionApplication/initApply")
    public ResultUtil initApply(MedicalRecord medicalRecord) {
        return null;
    }

    /**
     * @return {@link ResultUtil}
     * @author GSJ
     * @description 暂存患者的检查申请
     */
    @PostMapping("/outpatientDoctorWorkStation/inspectionApplication/tempApply")
    public ResultUtil tempApply(@RequestBody CheckApply checkApply) {
        return null;
    }

    /**
     * @return {@link ResultUtil}
     * @author GSJ
     * @description 开立患者的检查申请
     */
    @PostMapping("/outpatientDoctorWorkStation/inspectionApplication/commitApply")
    public ResultUtil commitApply(@RequestBody CheckApply checkApply) {
        return null;
    }

    /**
     * @return {@link ResultUtil}
     * @author GSJ
     * @description 删除患者的检查申请
     */
    @PostMapping("/outpatientDoctorWorkStation/inspectionApplication/deleteApply")
    public ResultUtil deleteApply(@RequestBody CheckApply checkApply) {
        return null;
    }

    /**
     * @return {@link ResultUtil}
     * @author GSJ
     * @description 作废患者的检查申请
     */
    @PostMapping("/outpatientDoctorWorkStation/inspectionApplication/cancelApply")
    public ResultUtil cancelApply(@RequestBody CheckApply checkApply) {
        return null;
    }

    /**
     * @return {@link ResultUtil}
     * @author GSJ
     * @description 修改患者的检查申请
     */
    @PostMapping("/outpatientDoctorWorkStation/inspectionApplication/editApply")
    public ResultUtil editApply(@RequestBody CheckApply checkApply) {
        return null;
    }

    /**
     * @return {@link ResultUtil}
     * @author GSJ
     * @description 生成项目的名称
     */
    @PostMapping("/outpatientDoctorWorkStation/inspectionApplication/initItemName")
    public ResultUtil initItemName() {
        return null;
    }

    /**
     * @return {@link ResultUtil}
     * @author GSJ
     * @description 添加患者的检查项目
     */
    @PostMapping("/outpatientDoctorWorkStation/inspectionApplication/addApply")
    public ResultUtil addApply(@RequestBody CheckApply checkApply) {
        return null;
    }
}
